package com.example.gulimallserch.vo;

import lombok.Data;

import java.util.List;

/**
 * @program: gumo-mall
 * @author: wuyunpeng
 * @create: 2025-04-02 10:35
 */
/**
 * 接受页面传递过来的检索参数
 * search?keyword=小米&brandId=1,3&cid=225&props=5:高通-麒麟&props=6:骁龙865-硅谷1000&sort=1&priceFrom=1000&priceTo=6000&pageNum=1&store=true
 *
 */
@Data
public class SearchParamVo {

    private String keyword; // 检索条件

    private Long catalog3Id; // 分类过滤

    private String sort;

    private List<Long> brandId; // 品牌过滤

    private Integer hasStore; // 是否有货
    private String skuPrice;


    // props=5:高通-麒麟,6:骁龙865-硅谷1000
    private List<String> attrs; // 过滤的检索参数

    private Integer pageNum = 1; // 页码

    private String paramUrl;


}